package com.charger.kanban.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.charger.chargingcable.domain.Chargingcable;
import com.charger.common.annotation.Excel;
import com.charger.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 监控看板对象 charger
 * 
 * @author charger1
 * @date 2024-11-27
 */
public class Kanban extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long chargerId;

    /** 电桩名称 */
    @Excel(name = "电桩名称")
    private String chargerName;

    /** 电桩编号 */
    private String chargerNum;

    /** 电桩类型 */
    private String chargerType;

    /** 电桩型号 */
    private String chargerModel;

    /** 电桩功率 */
    private String chargerPower;

    /** 关联电站 */
    private Long chargingstationId;

    /** 适合车型 */
    private Long carModel;

    /** 电桩说明 */
    private String chargerRemark;

    /** 通讯信号 */
    @Excel(name = "通讯信号")
    private String communication;

    /** 今日充电量 */
    @Excel(name = "今日充电量")
    private Long chargeCapacity;

    /** 今日客户量 */
    @Excel(name = "今日客户量")
    private Long customerNum;

    /** 今日收款额 */
    @Excel(name = "今日收款额")
    private Long payoutAmount;

    /** 今日单价 */
    @Excel(name = "今日单价")
    private Long price;

    /** 充电桩状态 */
    private Long status;

    @TableField(select = false,exist = false)
    private List<Long> ChargingcableIds;

    @TableField(select = false,exist = false)
    private List<Chargingcable> chargingcables;


    public void setChargerId(Long chargerId) 
    {
        this.chargerId = chargerId;
    }

    public Long getChargerId() 
    {
        return chargerId;
    }
    public void setChargerName(String chargerName) 
    {
        this.chargerName = chargerName;
    }

    public String getChargerName() 
    {
        return chargerName;
    }
    public void setChargerNum(String chargerNum) 
    {
        this.chargerNum = chargerNum;
    }

    public String getChargerNum() 
    {
        return chargerNum;
    }
    public void setChargerType(String chargerType) 
    {
        this.chargerType = chargerType;
    }

    public String getChargerType() 
    {
        return chargerType;
    }
    public void setChargerModel(String chargerModel) 
    {
        this.chargerModel = chargerModel;
    }

    public String getChargerModel() 
    {
        return chargerModel;
    }
    public void setChargerPower(String chargerPower) 
    {
        this.chargerPower = chargerPower;
    }

    public String getChargerPower() 
    {
        return chargerPower;
    }
    public void setChargingstationId(Long chargingstationId) 
    {
        this.chargingstationId = chargingstationId;
    }

    public Long getChargingstationId() 
    {
        return chargingstationId;
    }
    public void setCarModel(Long carModel) 
    {
        this.carModel = carModel;
    }

    public Long getCarModel() 
    {
        return carModel;
    }
    public void setChargerRemark(String chargerRemark) 
    {
        this.chargerRemark = chargerRemark;
    }

    public String getChargerRemark() 
    {
        return chargerRemark;
    }
    public void setCommunication(String communication) 
    {
        this.communication = communication;
    }

    public String getCommunication() 
    {
        return communication;
    }
    public void setChargeCapacity(Long chargeCapacity) 
    {
        this.chargeCapacity = chargeCapacity;
    }

    public Long getChargeCapacity() 
    {
        return chargeCapacity;
    }
    public void setCustomerNum(Long customerNum) 
    {
        this.customerNum = customerNum;
    }

    public Long getCustomerNum() 
    {
        return customerNum;
    }
    public void setPayoutAmount(Long payoutAmount) 
    {
        this.payoutAmount = payoutAmount;
    }

    public Long getPayoutAmount() 
    {
        return payoutAmount;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("chargerId", getChargerId())
            .append("chargerName", getChargerName())
            .append("chargerNum", getChargerNum())
            .append("chargerType", getChargerType())
            .append("chargerModel", getChargerModel())
            .append("chargerPower", getChargerPower())
            .append("chargingstationId", getChargingstationId())
            .append("carModel", getCarModel())
            .append("chargerRemark", getChargerRemark())
            .append("communication", getCommunication())
            .append("chargeCapacity", getChargeCapacity())
            .append("customerNum", getCustomerNum())
            .append("payoutAmount", getPayoutAmount())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .toString();
    }
}
